<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/commonTag.jsp"%>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="brand"> <span>ChaseFramework</span> </a>

				<!-- user dropdown starts -->
				<div class="btn-group pull-right">
					<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						<i class="icon-user"></i><span class="hidden-phone">${user.username}</span>
						<i class="icon-chevron-down"></i> </a>
					<ul class="dropdown-menu">
						<li><a href="#"> <i class="icon-wrench"></i> Setting</a></li>
						<li class="divider"></li>
						<li><a href="${path}/loginAction!logout.action"><i class="icon-off"></i> Logout</a></li>
					</ul>
				</div>
				<!-- user dropdown ends -->

				<div class="top-nav nav-collapse">
					<ul class="nav">
						<li><a id="time"></a>
						</li>
						<li>
							<form class="navbar-form pull-left">
								<input class="span5" name="query" type="text"
									placeholder="Google">
								<button type="submit" class="btn"> <i class="icon-search"></i> Go</button>
							</form></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript">
		$(function()
        {
	        showtime();
        });

        function showtime()
        {
	        $("#time").text(curentTime());
	        setTimeout(showtime, 1000); //设定函数自动执行时间为 1000 ms(1 s)
        }
	</script>
</body>
</html>
